function figNomShares = plotNominalShares(KFStru,model,dataStru,names)
xaxis = dataStru.start:.25:dataStru.finish;
CC = model.CC;


namesShares = {'cShare', 'gShare', 'iShare'};
posShares = cellposition(namesShares,names.states);

shareMatRaw = KFStru.smoothSt(:,posShares);

for jj=1:3
shareMatTransformed(:,jj) = exp((shareMatRaw(:,jj) + CC(posShares(jj)))/100);
end


    
    
figNomShares = figure();

for i = 1:3
subplot(3,1,i) 
plot(xaxis,shareMatTransformed(:,i));
title(namesShares(i))
end


end




